package com.hanthink.system.domain.repair;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hanthink.common.core.domain.BaseEntity;

/**
* <p>Title: Equip</p>  
* <p>Description: 设备实体</p>  
* @author vondser
* @date 2020年12月10日
 */
public class Equip extends BaseEntity{
	
	private static final long serialVersionUID = 1L;
	private Long id;
	private Long siteKey;
	private String areaKey;
	private String equipCode;
	private String equipName;
//	0：主设备 1：辅助设备
	private String equipType;
//	1:运行中 0：停机
	private String status;
//	1:运行中 0：停机
	private boolean eqState;
   //0：运行 1：计划停机
	private String eqStatus;
	private Long parentKey;
	private String model;
	private String location;
	private Date planDownTime;
	private Date planOnTime;
	private String department;
//	任务类型（0-日，1-周，2-月，3-工艺点检）
	private String taskType;
	private String taskCode;
	//预约时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date appointment;
	
	
	
	public Date getAppointment() {
		return appointment;
	}
	public void setAppointment(Date appointment) {
		this.appointment = appointment;
	}
	public String getTaskType() {
		return taskType;
	}
	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getSiteKey() {
		return siteKey;
	}
	public void setSiteKey(Long siteKey) {
		this.siteKey = siteKey;
	}
	
	public String getEquipCode() {
		return equipCode;
	}
	public void setEquipCode(String equipCode) {
		this.equipCode = equipCode;
	}
	public String getEquipName() {
		return equipName;
	}
	public void setEquipName(String equipName) {
		this.equipName = equipName;
	}
	public String getEquipType() {
		return equipType;
	}
	public void setEquipType(String equipType) {
		this.equipType = equipType;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Long getParentKey() {
		return parentKey;
	}
	public void setParentKey(Long parentKey) {
		this.parentKey = parentKey;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public Date getPlanDownTime() {
		return planDownTime;
	}
	public void setPlanDownTime(Date planDownTime) {
		this.planDownTime = planDownTime;
	}
	public Date getPlanOnTime() {
		return planOnTime;
	}
	public void setPlanOnTime(Date planOnTime) {
		this.planOnTime = planOnTime;
	}
	public String getEqStatus() {
		return eqStatus;
	}
	public void setEqStatus(String eqStatus) {
		this.eqStatus = eqStatus;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getAreaKey() {
		return areaKey;
	}
	public void setAreaKey(String areaKey) {
		this.areaKey = areaKey;
	}
	public boolean isEqState() {
		return eqState;
	}
	public void setEqState(boolean eqState) {
		this.eqState = eqState;
	}
	public String getTaskCode() {
		return taskCode;
	}
	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}
	
}
